﻿using System;
using Assist;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;

namespace YJKArch.GlobleSetModule
{
	[Regeneration(RegenerationOption.Manual)]
	[Transaction(TransactionMode.Manual)]
	public class CmdLevelSet : YJKCommandAuto
	{
		protected override Result YJKExcute(ExternalCommandData cmdData, ref string message, ElementSet elements)
		{
			using (DlgLevelSet dlgLevelSet = new DlgLevelSet(this.m_uiApp))
			{
				dlgLevelSet.ShowDialog();
			}
			return Autodesk.Revit.UI.Result.Succeeded;
		}
	}
}
